package com.facade.user.cud;

import com.common.ResultUtil;
import com.entity.Manager;
import com.facade.base.cud.IBaseFacadeCUD;

import java.io.Serializable;

public interface IManagerFacadeCUD extends IBaseFacadeCUD<Manager> {

    ResultUtil addManager(Manager manager, Long[] roleIdArray, Serializable... managerId);

    ResultUtil modifyManager(Manager manager, Long[] roleIdArray, Serializable... managerId);

    ResultUtil deleteManager(Serializable id, Serializable... managerId);

    ResultUtil enableManager(Serializable id, Serializable... managerId);

    ResultUtil disableManager(Serializable id, Serializable... mangerId);

    ResultUtil modifyPassword(Serializable id, String password, Serializable... managerId);
}
